package com.traffic.data;

/**
 * Created by acer on 14-2-9.
 */
public class DBConnConfig {
    
    public static final String ORACLE = "ORACLE";

    public static final String DB2 = "DB2";

    public static final String MYSQL = "MYSQL";

    public static final String MSSQL = "MICROSOFT SQL SERVER";

    public static final String MSSQL2000 = "MSSQL2000";

    public String jNDIName = null;

    public boolean isJNDIPool = false;

    public int maxConnCount = 1000;

    public int initConnCount = 0;

    public int connCount;

    public int maxConnUsingTime = 120000;// 以毫秒为单位

    public int refershPeriod = 60000;// 一分钟检查一次连接是否己失效（数据库重启等原因造成）

    public String dBType;

    public String dBServerAddress;

    public int dBPort;

    public String dBName;

    public String dBUserName;

    public String dBPassword;

    public String testTable;

    public String poolName;
}
